package com.desginer.create.strategy;

public class BusinessFlowStrategyFactory {

    public static BusinessFlowStrategy getStrategy(BusinessFlow businessFlow) {
        switch (businessFlow) {
            case ORDER:
                return new OrderBusinessFlow();
            case PAYMENT:
                return new PaymentBusinessFlow();
            default:
                return null;
        }
    }
}
